home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmeDrawCircle.z / XmeDrawCircle
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee((((3333XXXX))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee - Draws a Motif-style, three-dimensional
  10.           circle
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/DrawP.h>
  14.           vvvvooooiiiidddd XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee(
  15.           DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,
  16.           DDDDrrrraaaawwwwaaaabbbblllleeee ddddrrrraaaawwwwaaaabbbblllleeee,
  17.           GGGGCCCC ttttoooopppp____ggggcccc,
  18.           GGGGCCCC bbbboooottttttttoooommmm____ggggcccc,
  19.           GGGGCCCC cccceeeennnntttteeeerrrr____ggggcccc,
  20.           PPPPoooossssiiiittttiiiioooonnnn xxxx,
  21.           PPPPoooossssiiiittttiiiioooonnnn yyyy,
  22.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn wwwwiiiiddddtttthhhh,
  23.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn hhhheeeeiiiigggghhhhtttt,
  24.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn sssshhhhaaaaddddoooowwww____tttthhhhiiiicccckkkknnnneeeessssssss,
  25.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn mmmmaaaarrrrggggiiiinnnn);
  26.  
  27.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  28.           This page documents Motif 2.1.
  29.  
  30.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.           XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee draws a Motif-style circle and the shadows
  32.           around it.  You specify the position of the circle by
  33.           describing a bounding rectangle. The bounding rectangle
  34.           encompasses not only the circle, but its shadows as well.
  35.  
  36.           You may optionally specify a margin between the circle and
  37.           its shadows.
  38.  
  39.           _d_i_s_p_l_a_y   Specifies the display on which the circle is to be
  40.                     rendered.
  41.  
  42.           _d_r_a_w_a_b_l_e  Specifies the drawable in which the circle is to
  43.                     be rendered.
  44.  
  45.           _t_o_p__g_c    Specifies the graphics context of the circle's top
  46.                     shadow.
  47.  
  48.           _b_o_t_t_o_m__g_c Specifies the graphics context of the circle's
  49.                     bottom shadow.
  50.  
  51.           _c_e_n_t_e_r__g_c Specifes the graphics context of the circle
  52.                     itself.  If you specify _N_U_L_L, the circle will not
  53.                     be drawn, but the shadow will still be drawn.
  54.  
  55.           _x         Specifies the leftmost point of the bounding
  56.                     rectangle.
  57.  
  58.           _y         Specifies the top point of the bounding rectangle.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee((((3333XXXX))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmeeeeDDDDrrrraaaawwwwCCCCiiiirrrrcccclllleeee((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           _w_i_d_t_h     Specifies the width of the bounding rectangle.
  75.  
  76.           _h_e_i_g_h_t    Specifies the height of the bounding rectangle.
  77.  
  78.           _s_h_a_d_o_w__t_h_i_c_k_n_e_s_s
  79.                     Specifies the thickness, in pixels, of the shadow
  80.                     surrounding the circle.
  81.  
  82.           _m_a_r_g_i_n    Specifies the gap, in pixels, between the circle
  83.                     and its shadow.  Without this margin, the boundary
  84.                     between a circle and its shadow may appear
  85.                     somewhat ragged on a monochrome screen.
  86.  
  87.      RRRREEEELLLLAAAATTTTEEEEDDDD
  88.           XXXXmmmmeeeeDDDDrrrraaaawwwwAAAArrrrrrrroooowwww(3), XXXXmmmmeeeeDDDDrrrraaaawwwwDDDDiiiiaaaammmmoooonnnndddd(3), XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr(3), and
  89.           XXXXmmmmeeeeDDDDrrrraaaawwwwSSSSeeeeppppaaaarrrraaaattttoooorrrr(3)
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.